//  File:         Tag.cpp
//  Author:       Scott Nordmann & Lauren Wallace
//  Description:  Non-inline member function definitions.
#include "Tag.h"
#include "TagSpec.h"
#include <string>

using namespace std;

Tag::Tag(TagSpec& specname, Entry& entryname)
{
	setSpec(specname);
	setEntry(entryname);
}

Tag::Tag(TagSpec& specname)
{
	setSpec(specname);
}

Tag::~Tag()
{

}

void Tag::removeFromTagSpec()
{
	spec->removeTag(this);
}
void Tag::setSpec(TagSpec& specname)
{
	spec=&specname;
}
void Tag::setEntry(Entry& entryname)
{
	entry=&entryname;
}

